var vm = new Vue({
    el: "#app",

    data: {
        content: '',
        list: []
    },
    methods: {
        add() {
            if (this.content) {
                this.list.push(this.content);
            }
            this.content = '';
        }
    }
})